.hp-design-full {
  --hp-color-border: #d9d9d9;
  --hp-color-shadow: rgba(0, 0, 0, 0.02);
  --hp-color-background: #fff;
  --hp-color-background-main: #f8f8f8;

  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hp-design-body {
  flex: 1;
  height: 0;
  overflow: auto;
  overflow-x: hidden;
  background-color: #fff;
}

.hp-design-main {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  background-color: #f5f5f5;
}

// 收起展开的bar
@mixin toggleBase {
  position: absolute;
  cursor: pointer;
  height: 60px;
  width: 12px;
  top: calc(50% - 18px);
  color: #909399;
  background: #fff;
  z-index: 8;
  display: flex;
  align-items: center;
  font-size: 18px;
  transition: all .3s;
  &:hover {
    transform: scale(1.2);
    color: var(--el-color-primary);
  }
}
.hp-aside-toggle {
  @include toggleBase;
  &.left {
    left: 240px;
    border-radius: 0 8px 8px 0;
    border: 1px solid #d9d9d9;
    border-left: none;
    &.hidden {
      left: 60px;
    }
    .toggle-icon {
      position: relative;
      right: 2px;
    }
  }
  &.right {
    right: 320px;
    border-radius: 8px 0 0 8px;
    border: 1px solid #d9d9d9;
    border-right: none;
    &.hidden {
      right: 0;
    }
    .toggle-icon {
      position: relative;
      right: 4px;
    }
  }
}